const path = require('path');

module.exports = {
  // db: {
  //   mysql: {
  //     // host: '47.52.225.217',
  //     host: '127.0.0.1',
  //     user: 'root',
  //     password: '',
  //     database: 'si_db',
  //     connectionLimit: 10
  //   },
  //   redis: {
  //     port: 6379,
  //     host: '127.0.0.1',
  //     db: 3,
  //     options: {
  //       return_buffers: false,
  //       auth_pass: ''
  //     }
  //   }
  // },
  oAuth: {
    github: {
      client_id: '6625cb27769b1bc52415',
      client_secret: '5ead47391fd5b132957bc4bf84400d5cacd1e748'
    }
  },
  root: path.normalize(__dirname + '/../..'),
  appPath: 'public',
  appDebugPath: 'public',
  tempUploads: 'tempUploads',
  uploads: 'uploads',
  port: 8080,
  tokenSecret: 'test',
  isUpdateAdmin: false,
  accessControlAllowOrigin: 'http://192.168.2.104:8080',
  adminName: 'admin',
  adminPassword: '123456',
  socketioPath: '/testsocketiopath',
  draftPostRedisKey: 'DRAFTPSOTKEY'
};
